﻿/*------------------------------------------------
 Author:ShenDuo
 CreatedDate:2019.3.19
 UpdatedDate:
 version:0.1
 ------------------------------------------------*/

namespace TrainsTraining.Model
{
    /// <summary>
    ///     Passed path definition
    /// </summary>
    public class PassedPath
    {
        public PassedPath(string nodeId, string passedRoutes, int distance)
        {
            NodeId = nodeId;
            PassedRoutes = passedRoutes;
            Distance = distance;
        }

        //current node of the passed path
        public string NodeId { get; set; }

        //passed route string
        public string PassedRoutes { get; set; }

        //total passed distance
        public int Distance { get; set; }
    }
}